/**
 * 项目名称:测试类
 *
 * @Author: 夏国倩
 * @Date: 2023/9/13 14:27
 * @Copyright
 */
package Interface4;
public class Test {
    public static void main(String[] args) {
        //创建具体的防盗门对象
        ThefrproofDoor thefrproofDoor=new ThefrproofDoor();
        thefrproofDoor.close();//关门
        thefrproofDoor.lockUp();//上锁
        thefrproofDoor.bell();//门铃
        thefrproofDoor.openLock();//开锁
        thefrproofDoor.open();//开门
    }
}
